/*
 * CWinApplication.cpp
 *
 *  Created on: 2012-1-26
 *      Author: Administrator
 */
extern "C"
int __stdcall ::WinMain (void* hInstance, void* hPrevInstance, char* szCmdLine, int iCmdShow){
	vector<CWinMsg> msgQueue = new vector<CWinMsg>();

	while (GetMessage (&msg, NULL, 0, 0)) {
		TranslateMessage (&msg) ;
		DispatchMessage (&msg) ;
	}
	return msg.wParam ;
}
